package net.sareweb.acab.components.session;

import net.sareweb.acab.entity.Avatar;
import net.sareweb.acab.entity.User;

import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Install;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.Startup;
import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.log.LogProvider;
import org.jboss.seam.log.Logging;
import org.jboss.seam.security.Identity;


@Name("org.jboss.seam.security.identity")
@Scope(ScopeType.SESSION)
@Install(precedence = Install.APPLICATION)
@BypassInterceptors
@Startup
public class AcabIdentity extends Identity {

	private User user;
	private Avatar avatarBig;
	private Avatar avatarMedium;
	private Avatar avatarSmall;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Avatar getAvatarBig() {
		return avatarBig;
	}

	public void setAvatarBig(Avatar avatarBig) {
		this.avatarBig = avatarBig;
	}

	public Avatar getAvatarMedium() {
		return avatarMedium;
	}

	public void setAvatarMedium(Avatar avatarMedium) {
		this.avatarMedium = avatarMedium;
	}

	public Avatar getAvatarSmall() {
		return avatarSmall;
	}

	public void setAvatarSmall(Avatar avatarSmall) {
		this.avatarSmall = avatarSmall;
	}
	
	
	
	

}